4D Chart v13

CT MENU STATUS

Home

 
4D Chart v13
CT MENU STATUS

CT MENU STATUS 


 

CT MENU STATUS ( area ; command ; checked ; available ; name ) 
Parameter Type   Description
area  Longint in 4D Chart area
command  Longint in Number of command
checked  Integer in Is the menu item checked? 0 = Not checked 1 = Checked
available  Integer in Is the menu item available or dimmed? 0 = Disabled 1 = Enabled
name  String in Receives name of menu item

The CT MENU STATUS command returns in the checked, available, and name parameters information about the menu item in area represented by command.

The possible values for command are listed in the Command Codes section.

If available equals 0, the menu item is disabled. If available equals 1, the menu item is enabled.

If checked equals 0, the menu item is not checked. If checked equals 1, the menu item is checked.

name is the text of the menu item.

Example  

This example checks a menu item to see if the area is in Show References or Show Values mode. If the area is in Show References mode, Show Values mode is turned on.

 CT MENU STATUS(Area;6006;$Checked;$Available;$Name)
 If($Name="Show References")
    CT DO COMMAND(Area;6006)
 End if

 
PROPERTIES 

Product: 4D Chart
Theme: CT Area Control
Number: 14519

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

Command Codes
CT DO COMMAND